
<%=jianbook.skin()%>
<!--视频播放-->
<div class="mask_bg"><a href="javascript:;" id="close-video" class="iconfont icon-close"></a>
 <div class="video_box"></div>  
</div>

<!--二维码分享-->
<div class="qrcode">
<div class="qrcode-div">
<div class="qrcode-title">分享到微信 <div class="qrcode-close" onclick="qrcode_close()">×</div></div>
<div id="qrcode"></div>
</div>

</div>



<div class="header">
<%if jianbook.isadmin() then%>
<ul class="head_nav">
   <li><a href="javascript:void(0)" ><img src="ui/images/user_01.jpg" class="layui-nav-img">管理员 <i class="layui-icon  layui-icon-down"></i></a>
  <div class="nav_bbs">
	 <a href="javascript:void(0)" onclick="pop_up('设置','lib/info.asp','800px','95%')"><i class="layui-icon layui-icon-set"></i>设置</a>

<a href="javascript:void(0)"  onclick="pop_up('发布文章','lib/article.asp','90%','95%')"><i class="layui-icon layui-icon-form"></i>发布文章</a>

	 <a href="javascript:void(0)" onclick="pop_up('会员管理','user/user_list.asp','90%','95%')"><i class="layui-icon layui-icon-dialogue"></i>会员</a>
      <a href="javascript:void(0)" onclick="pop_up('访客统计','lib/count.asp','1000px','95%')"><i class="layui-icon layui-icon-chart"></i>统计</a>
       <a href="javascript:void(0)" onclick="pop_up('图片管理','lib/pic_list.asp','1000px','95%')"><i class="layui-icon layui-icon-picture"></i>图片</a>

      <a href="javascript:void(0)" onclick="exit()"  ><i class="layui-icon layui-icon-return"></i>退出</a>					     
	</div>
     </li>
	</ul>
    <%elseif request.Cookies("user")("login")="true" then
sql="select * from [user] where id="&request.Cookies("user")("id")
rst.open sql,conn,1,1
if not rst.eof then
my_name=rst("username")
if isnull(rst("pic")) then
my_tx="<img src='ui/images/user_01.jpg' class=layui-nav-img />"
else
my_tx="<img src='"&rst("pic")&"' class=layui-nav-img />"
end if
else
my_tx="<img src='ui/images/user_01.jpg' class=layui-nav-img />"
end if
rst.close
	%>
    <ul class="head_nav">
   <li><a href="javascript:void(0)" ><%=my_tx%><%=my_name%> <i class="layui-icon  layui-icon-down"></i></a>
  
  <div class="nav_bbs">
  <%if jianbook.sysinfo("mestype")=1 then %>
<a href="javascript:void(0)"  onclick="pop_up('发布文章','lib/article.asp','95%','95%')"><i class="layui-icon layui-icon-form"></i>发布文章</a>
<%end if%>
   <a href="javascript:void(0)" onclick="pop_up('会员中心','user/info.asp','600px','600px')"><i class="layui-icon layui-icon-user
"></i>会员中心</a>
	 <a href="javascript:void(0)" onclick="tc('修改信息','user/set.asp',600,600)"><i class="layui-icon layui-icon-set"></i>修改信息</a>
      <a href="message.asp?type=receive" ><i class="layui-icon layui-icon-dialogue"></i>我的消息</a>
	
      <a href="javascript:void(0)" onclick="exit()" ><i class="layui-icon layui-icon-return"></i>退出</a>					     
	</div>
     </li>
     
	</ul>
    <%else%>
    
    <div class="f_btn" onclick="login_show()">管理</div>
 <%end if%>
<div class="head">

  <div class="logo"> <a href="index.asp"><%=logo%></a> </div>
  <div class="nav">
  	<li><a href="index.asp">全部</a></li>
  <%
Sql="select * from [type] where islink is null or islink=0 order by  num asc,id desc"
rs1.open Sql,conn,3,3
	if not rs1.eof then
	do while not rs1.eof
	if rs1("islink")=1 then
		navurl=rs1("url")
	
	else
navurl="index.asp?lm="&rs1("title")&""
	end if
%>

<li><a href="<%=navurl%>" <%if request("lm")=rs1("title") then%> class="selected"<%end if%> <%if rs1("islink")=1 then response.Write "target='_blank'" end if%>><%=rs1("title")%></a></li>
    

<%

rs1.movenext
loop
end if
rs1.close%>

</div>
<div class="ser_div">
<i class="layui-icon layui-icon-search"></i></div>

<div class="h_ser_bg" style="display: none;">
            <div class="h_ser_close iconfont icon-close"></div>
         <div class="h_ser_div">
        <form id="form1" name="form1" class="layui-form"  method="post" action="">
<input type="text" name="key" class="keyword" placeholder="输入搜索关键词">
<input type="image" src="ui/images/s.png" class="serbtn" lay-submit="lay-submit"></form></div>
        </div>




</div>

  
<div class="btn"><%if jianbook.sysinfo("zt")=1 or request.Cookies("admin")("login")="true" then%>
<%if jianbook.sysinfo("guestadd")=1 or request.Cookies("user")("login")="true" or request.Cookies("admin")("login")="true"  then%>


<div class="f_btn1" onclick="tc('简说','lib/message.asp',800,400)"><i class="layui-icon layui-icon-dialogue"></i>简说</div>



<%else%>

<div class="f_btn1" onclick="layer.msg('请登陆再发布')"><i class="layui-icon layui-icon-dialogue"></i>发布</div>
<%
end if
end if%>
<%if request.Cookies("user")("login")="" then%>
<div class="f_btn1" onclick="user_login()"><i class="layui-icon layui-icon-username"></i>登陆</div>
<%end if%>
</div>
</div>



<!--悬浮链接-->

<div class="mobile">
<a href="#" class="weixin">
<div class="weixin-logo"><img src="ui/images/gzh.jpg "><p>扫一扫，查看手机版</p></div>
<i class="layui-icon layui-icon-cellphone"></i> <span class="layui-badge-dot"></span></a>
<%if jianbook.sysinfo("bgmusic")<>"" then%><a class="mscBtn pause" id="audioBtn"  style="cursor:pointer;"></a>
<audio id="bgMusic" src="<%=jianbook.sysinfo("bgmusic")%>" ></audio><%end if%>


<%if jianbook.sysinfo("wx")<>"" then%><a href="#" class="weixin">
<div class="weixin-logo"><img src="<%=jianbook.sysinfo("wx")%> "></div>
<i class="iconfont icon-weixin1"></i></a><%end if%>
<%if jianbook.sysinfo("qq")<>"" then%><a href="https://wpa.qq.com/msgrd?v=3&amp;uin=<%=jianbook.sysinfo("qq")%>&amp;site=qq&amp;menu=yes" target="_blank"><i class="iconfont icon-qq1"></i></a><%end if%>

</div>


<!--管理员登陆-->

<div class="abg" id="admin" <%if request("demo")<>"9416" then%>style="display:none"<%end if%> >

<div class="adiv">
<div class="atit">管理员登陆</div><div class="aclose" onclick="login_close()">×</div>


<div class="aform">
  <form id="aform" name="aform" method="post" class="layui-form">
   
    <input type="text" name="code" id="code"  class="a_txt"  placeholder="请输入管理密码！" value="<%=request("demo")%>"/>
    <input type="submit" name="button"  value="进入" class="a_btn"  lay-submit="lay-submit" lay-filter="login_admin" />
  
  </form>
</div>

</div>
</div>




<!--会员注册-->
<div class="abg" id="user" style="display:none">

<div class="adiv">
<div class="atit">会员登陆</div><div class="aclose" onclick="login_close()">×</div>


<div class="aform" id="reg" style="display:none">
  <form id="rform" name="rform" method="post" class="layui-form" >
   
    <input type="text" name="email"   class="input_email" id="email"  placeholder="请输入邮箱！" value="" lay-verify="email" />
   
   <%if jianbook.sysinfo("regmall")=1 then%> <div class="login_yzm">
          <input name="yzm" type="text" class="input_yzm"  id="yzm" size="30" placeholder="邮箱验证码" lay-verify="number" /> 
          <input type="button" name="button"  value="获取验证码" class="btn_yzm"  id="btnSendCode" onClick="sendMessage()"/>
          </div><%end if%>
           <input type="text" name="code"   class="input_email"  placeholder="请输入密码！" value="" lay-verify="pass" />
            <input type="text" name="code1"   class="input_email"  placeholder="确认密码！" value="" lay-verify="pass" />
            <input type="text" name="username"   class="input_email"  placeholder="请输入昵称！" value="" lay-verify="username" />
    <input type="submit" name="button"  value="注册" class="a_btn" lay-submit="lay-submit"  lay-filter="reg"/> 
       <input type="button" name="button"  value="登陆" class="btn_reg" onclick="login_div()" />   
  </form>
</div>


<div class="aform" id="login" >
  <form id="lform" name="lform" method="post" class="layui-form" >
   
    <input type="text" name="email"   class="input_email"  placeholder="请输入邮箱！" value="<%=request.Cookies("memory")("username")%>" lay-verify="email" />

           <input type="password" name="code"   class="input_email"  placeholder="请输入密码！" value="<%=request.Cookies("memory")("psw")%>" lay-verify="pass" />
        <div style="margin-bottom:10px"> <input type="checkbox" name="memory" lay-skin="primary"  value="1" title="记住密码" > </div>
        
       <input type="submit" name="button"  value="登陆" class="a_btn" lay-submit="lay-submit"  lay-filter="login"/>   
         <%if jianbook.sysinfo("reg")=1 then%><input type="button" name="button"  value="注册" class="btn_reg" onclick="reg_div()"/>  <%end if%>   
  </form>
</div>

</div>
</div>
<input type="hidden" name="path" value="<%=webroot%>"  />

  
<%

%>
